# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python


class Recipe(recipe.Recipe):
    name = 'orc'
    version = '0.4.26'
    remotes = {'origin': 'git://anongit.freedesktop.org/gstreamer/orc'}
    commit = 'orc-0.4.26'
    licenses = [License.BSD_like]
    autoreconf = True
    configure_options = '--enable-static'

    files_libs = ['liborc-0.4', 'liborc-test-0.4']
    files_devel = ['include/orc-0.4', 'lib/pkgconfig/orc-0.4.pc',
        'bin/orc-bugreport%(bext)s', 'share/aclocal/orc.m4',
        'bin/orcc%(bext)s']

    def prepare(self):
        self.append_env['CFLAGS'] = " -Wno-error "
        self.append_env['CXXFLAGS'] = " -Wno-error "
        self.append_env['CPPFLAGS'] = " -Wno-error "
